PELogOffServer4

The PELogOffServer4 function was specially designed to accept VB's native 4-byte aligned "Types." It logs off the specified server. Use any time you have to log off a specified server.

Declare Function PELogOffServer4 Lib "crwrap32.dll" (ByVal DLLName As 
String, LogOnInfo As PELogOnInfo4) As Integer
Parameters

DLLName

Specifies the name of the Crystal Reports DLL for the data source you want to log off, for example, PDSODBC.DLL. Note that the DLLName must be enclosed in quotes. DLL names have the following naming convention: PDB*.DLL for standard (non-SQL) databases, PDS*.DLL for SQL/ODBC databases.

LogOnInfo

Specifies the pointer to the PELogOnInfo4 structure.

Return Value

TRUE (1) if the call is successful, FALSE (0) if the call fails.

Remarks


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com